package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Date;

@TableName("remember")
@Data
public class Remember {
    @TableId(value = "rid",type = IdType.AUTO)
    private Integer rid;
    private Integer number;
    @JsonFormat(pattern = "YYYY年MM-dd",timezone = "GMT+8")
    private Date rdate;
}
